package com.sservice.model.dao;

import com.sservice.model.entity.ApplyPayBill;
import com.sservice.model.vo.ApplyPayBillVo;

import java.util.List;

public interface ApplyPayBillMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ApplyPayBill record);

    int insertSelective(ApplyPayBill record);

    ApplyPayBill selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ApplyPayBill record);

    int updateByPrimaryKey(ApplyPayBill record);

    //    按查询条件统计
    int countBy(ApplyPayBill record);

    List<ApplyPayBillVo> queryByPage(ApplyPayBillVo com);

    List<ApplyPayBillVo> queryOrderByPage(ApplyPayBillVo com);

    int queryByCount(ApplyPayBillVo com);

    int queryOrderByCount(ApplyPayBillVo com);
}